package com.xh.bussiness.resource.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.bussiness.resource.bean.dto.MaterialDto;
import com.xh.bussiness.resource.bean.request.MaterialCourseIndexRequest;
import com.xh.bussiness.resource.model.MaterialCourseIndex;
import com.xh.core.bean.XhPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MaterialCourseIndexMapper extends BaseMapper<MaterialCourseIndex> {

    List<MaterialDto> queryMaterialByCourseIndex(@Param("bean") MaterialCourseIndexRequest bean);

    void deleteByCourseIndex(@Param("courseIndexId") String courseIndexId);
}
